﻿using System;

namespace OpenLS.Spreadsheet.Formats.Biff
{

    enum STGFMT {
  STORAGE   = 0,
  FILE      = 3,
  ANY       = 4,
  DOCFILE   = 5 
}


    [Flags]
    enum STGM
    {
        DIRECT = 0x00000000,
        READ = 0x00000000,
        FAILIFTHERE = 0x00000000,
        
        WRITE = 0x00000001,
        READWRITE = 0x00000002,
        
        SHARE_EXCLUSIVE = 0x00000010,
        SHARE_DENY_WRITE = 0x00000020,
        SHARE_DENY_READ = 0x00000030,
        SHARE_DENY_NONE = 0x00000040,
        
        CREATE = 0x00001000,
        
        TRANSACTED = 0x00010000,
        CONVERT = 0x00020000,
        PRIORITY = 0x00040000,

        NOSCRATCH = 0x00100000,
        NOSNAPSHOT = 0x00200000,
        DIRECT_SWMR = 0x00400000,

        DELETEONRELEASE = 0x04000000,
        SIMPLE = 0x08000000,
        
    }
}